package com.yjy.fuyao.stu.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@ApiModel(value="课程信息", description="评分课程后需要返回的相关字段")
@Data
public class RateCourseVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "课程评分")
    private Double rate;

    @ApiModelProperty(value = "个人评分")
    private Integer myRate;

    @ApiModelProperty(value = "课程评分人数")
    private Long rateCount;

    @ApiModelProperty(value = "评论内容")
    private String content;

}
